import Mock, { Random } from 'mockjs';
// mock数据
const config = {
	'user|10': [
		{
			'id': '@id',
			'name': '@cname',
			'age': '@natural(0,100)',
			'content': '@paragraph(1)'
		}
	],
	'product|10': [
		{
			'id': '@id',
			"title": "@ctitle",
			"image": Random.image('200x100'),
		}
	],
}
const data = Mock.mock(config);
export default data;